From: Glenn Morris Date: Wed, 20 Jan 2010 03:46:23 +0000 (-0800) Subject: (tab-always-indent): Fix custom-type. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~8664^2~35 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=62b5494ad274192cdc77ffbd3f0e881f260ac2f5;p=emacs.git (tab-always-indent): Fix custom-type. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2f8bd1d0ac6..13445189a10 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2010-01-20 Glenn Morris + + * indent.el (tab-always-indent): Fix custom-type. + 2010-01-19 Alan Mackenzie * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty diff --git a/lisp/indent.el b/lisp/indent.el index 12cf9c9bb5d..3f8353bd90c 100644 --- a/lisp/indent.el +++ b/lisp/indent.el @@ -1,7 +1,7 @@ ;;; indent.el --- indentation commands for Emacs -;; Copyright (C) 1985, 1995, 2001, 2002, 2003, 2004, -;; 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +;; Copyright (C) 1985, 1995, 2001, 2002, 2003, 2004, 2005, 2006, 2007, +;; 2008, 2009, 2010 Free Software Foundation, Inc. ;; Maintainer: FSF @@ -55,7 +55,11 @@ was already indented, then try to complete the thing at point. Some programming language modes have their own variable to control this, e.g., `c-tab-always-indent', and do not respect this variable." :group 'indent - :type '(choice (const nil) (const t) (const always))) + :type '(choice + (const :tag "Always indent" t) + (const :tag "Indent if inside indentation, else TAB" nil) + (const :tag "Indent, or if already indented complete" complete))) + (defun indent-according-to-mode () "Indent line in proper way for current major mode.